package data;

import java.util.Vector;

public class Komponente extends Zutat {
	
	protected int MengenPortion = -1;
	protected int Menge = -1;
	protected Vector<Substitut> Substitute = new Vector<Substitut>();
	
	/**
	 * Konstruktor
	 */
	protected Komponente() {}

	/**
	 * Konstruktor
	 */
	public Komponente(
			String Bezeichnung,
			ZutatenForm Form,
			Vector<Verfuegbarkeit> verfuegbarkeiten,
			int MengenPortion,
			int Menge,
			Vector<Substitut> Substitute
			) {
		super();
		this.Bezeichnung = Bezeichnung;
		this.Form = Form;
		this.verfuegbarkeiten = verfuegbarkeiten;
		this.MengenPortion = MengenPortion;
		this.Menge = Menge;
		this.Substitute = Substitute;
	}

	/**
	 * @return the mengenPortion
	 */
	public int getMengenPortion() {
		return MengenPortion;
	}

	/**
	 * @return the menge
	 */
	public int getMenge() {
		return Menge;
	}

	/**
	 * @return the substitute
	 */
	public Vector<Substitut> getSubstitute() {
		return Substitute;
	}

}
